#! /usr/bin/env python
# -*- coding: utf-8 -*-

import os
import sys

conf_dir = os.path.expanduser('~/.personal-finances')

if not os.path.exists(conf_dir):
	os.makedirs(conf_dir)
	os.chdir(conf_dir)
	#Create files to store data for personal finances if does not exists.
	for i in ['despesas','receitas','saldo','total-despesas','total-receitas']:
		open(i, 'a').close()
